
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>Content box</h3>
					
					<ul class="content-box-tabs">
						<li><a href="#tab1" class="default-tab">Trang Quản Lý</a></li> <!-- href must be unique and match the id of target div -->
						<?php if ($this->role == 1):?><li><a href="#tab2">Thêm mới</a></li><?php endif;?>
					</ul>
					
					<div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab -->
						
						
						
						<table>
							
							<thead>
								<tr>
								   <th><input class="check-all" type="checkbox" /></th>
								   <th>ID</th>
								   <th>Tên Sản Phẩm</th>
								   <th>Tiêu Đề</th>
								   <th>Hình Ảnh</th>
								   <th>Dạng Hiển Thị</th>
								   <th>Mô Tả</th>
								   <th>Thông Tin</th>
								   <?php if ($this->role==1):?><th>Trạng Thái</th><?php endif;?>
								</tr>
								
							</thead>
						 
							<tfoot>
								<tr>
									<td colspan="6">
										<div class="bulk-actions align-left">
											<select name="dropdown">
												<option value="option1">Choose an action...</option>
												<option value="option2">Edit</option>
												<option value="option3">Delete</option>
											</select>
											<a class="button" href="#">Apply to selected</a>
										</div>
										
										<div class="pagination">
											<a href="#" title="First Page">&laquo; First</a><a href="#" title="Previous Page">&laquo; Previous</a>
											<a href="#" class="number" title="1">1</a>
											<a href="#" class="number" title="2">2</a>
											<a href="#" class="number current" title="3">3</a>
											<a href="#" class="number" title="4">4</a>
											<a href="#" title="Next Page">Next &raquo;</a><a href="#" title="Last Page">Last &raquo;</a>
										</div> <!-- End .pagination -->
										<div class="clear"></div>
									</td>
								</tr>
							</tfoot>
						 
							<tbody>
							<?php $Scut = new Private_View_Helper_StringCutter()?>
							<?php foreach ($this->allPro as $pro):?>
								<tr>
									<td><input type="checkbox" /></td>
									<td><?php echo $pro["ID"]?></td>
									<td><a href="<?php echo ADMIN."/object/editp/id/".$pro["ID"]?>" title="sửa <?php echo $pro["OBJECT_NAME"]?>"><?php echo $pro["OBJECT_NAME"]?></a></td>
									<td><?php echo $pro["TITLE"]?></td>
									<td><img src="<?php echo $pro["OBJECT_IMG"]?>" height="100" width="100"/></td>
									<td><?php echo $pro["MODE_SLIDE"]?></td>
									<td><?php echo $pro["SHORT_DESCRIPTION"]?></td>
									<td><?php echo $Scut->stringCutter($pro["LONG_DESCRIPTION"])?></td>
									<?php if ($this->role==1):?><td>
										<!-- Icons -->
										 <a href="<?php echo ADMIN."/object/editp/id/".$pro["ID"]?>" title="Edit"><img src="<?php echo TempAdmin?>resources/images/icons/pencil.png" alt="Edit" /></a>
										 <a href="<?php echo ADMIN."/object/delp/id/".$pro["ID"]?>" title="Delete"><img src="<?php echo TempAdmin?>resources/images/icons/cross.png" alt="Delete" /></a>
										 <?php if($pro["STATUS"]==1):?> 
										 <a href="<?php echo ADMIN."/object/active/id/".$pro["ID"]?>" title="Thay trạng Thái"><img src="<?php echo TempAdmin?>resources/images/icons/tick_circle.png" alt="Thay trạng thái" /></a>
										 <?php else:?>
										 <a href="<?php echo ADMIN."/object/active/id/".$pro["ID"]?>" title="Thay trạng Thái"><img src="<?php echo TempAdmin?>resources/images/icons/cross_circle.png" alt="Thay trạng thái" /></a>
										 <?php endif;?>
									</td><?php endif;?>
								</tr>
							<?php endforeach;?>
							</tbody>
							
						</table>
						
					</div> <!-- End #tab1 -->
					
					<div class="tab-content" id="tab2">
					
						<form action="#" method="post" enctype="multipart/form-data">
							
							<fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
								
								<p>
									<label><?php echo NamePro?></label>
										<input class="text-input small-input" type="text" id="small-input" name="Name" />
										<br /><small>A small description of the field</small>
								</p>
								
								<p>
									<label>Menu Cha</label>
										<select name="Parent" class="small-input">
										<option value="0">Không Chọn</option>
										<?php foreach ($this->allPage as $page):?>
										<option value="<?php echo $page["ID"]?>"><?php echo $page["TITLE"]?></option>
										<?php endforeach;?>
										</select> 
										<br /><small>A small description of the field</small>
								</p>
								
								<p>
									<label><?php echo TitleF?></label>
										<input class="text-input small-input" type="text" id="small-input" name="Title" />
										<br /><small>A small description of the field</small>
								</p>
								
								<p>
									<label>Mô Tả</label>
										<input class="text-input small-input" type="text" id="small-input" name="Desc" />
										<br /><small>A small description of the field</small>
								</p>
								
								<p>
									<label><?php echo Content?></label>
									<textarea class="text-input textarea wysiwyg" id="textarea" name="Content" cols="79" rows="15"></textarea>
									<br /><small>A small description of the field</small>
								</p>
								
								<p>
									<label>Hình Ảnh</label>
										<input class="text-input small-input" type="file" id="small-input" name="Img" />
										<br /><small>A small description of the field</small>
								</p>
								
								<p>
									<label>Link Ảnh</label>
										<input class="text-input small-input" type="text" id="small-input" name="Link" />
								</p>
								
								<p>
									<label>Dạng Hiển Thị</label>              
									<select name="Classify" class="small-input">
										<option value="Gian Hang">Gian Hàng</option>
										<option value="San Pham">Sản Phẩm</option>
									</select> 
								</p>

								<p>
									<label>Trạng Thái</label>              
									<select name="Stt" class="small-input">
										<option value="1">Kích Hoạt</option>
										<option value="0">Không Kích Hoạt</option>
									</select> 
								</p>
								
								<p>
									<input class="button" type="submit" value="Submit" />
								</p>
								
							</fieldset>
							
							<div class="clear"></div><!-- End .clear -->
							
						</form>
						
					</div> <!-- End #tab2 -->        
					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->

			<div class="clear"></div>